package cn.funeralobjects.dictms.model;

import cn.funeralobjects.util.annotation.ArgHasLength;
import cn.funeralobjects.util.annotation.ArgNotZero;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author FuneralObjects
 * Create date: 2020/6/2 10:40 PM
 */
@Data
@Accessors(chain = true)
public class DictValue {
    /**
     * 编码
     */
    @ArgHasLength
    private String code;
    /**
     * 字典值
     */
    @ArgHasLength
    private String value;
    /**
     * 备注
     */
    private String remark;
    /**
     * 所属类目
     */
    @ArgNotZero
    private Integer dictId;
}
